Skip to content

fix: allow tsci push without entrypoint when circuit.json exists#1

Open
64johnlee wants to merge 17 commits into
mainfrom
fix/issue-2797
Open

fix: allow tsci push without entrypoint when circuit.json exists#1
64johnlee wants to merge 17 commits into
mainfrom
fix/issue-2797

Conversation

@64johnlee
Copy link
Copy Markdown
Owner

When no tsx/ts entrypoint files are found, getEntrypoint() now falls back to checking for circuit.json files. This mirrors the behavior of tsci dev which already supports circuit.json files as valid build targets.

Fixes tscircuit#2797

@64johnlee 64johnlee force-pushed the fix/issue-2797 branch 4 times, most recently from 59248f3 to 8442649 Compare May 11, 2026 14:00
tscircuitbot and others added 17 commits May 19, 2026 16:38
Co-authored-by: GitHub Actions <actions@github.com>
* Add telemetry for the tsci init command

* updt ts

* lock file updt

* fix

* revert tscircuit version

* updt

* remove the old test updt

* test fix

* updt snapshots

* updt test

* upt

* updt

* test fix
When no tsx/ts entrypoint files are found, getEntrypoint() now falls back
to checking for circuit.json files. This mirrors the behavior of `tsci dev`
which already supports circuit.json files as valid build targets.

Fixes tscircuit#2797
…BoardFiles

Previously, transpilation was skipped whenever `includeBoardFiles` was
configured and `--transpile` wasn't explicitly passed, even when a valid
TypeScript library entrypoint (e.g. `index.circuit.tsx`) was present.
Now the skip only applies when the resolved entrypoint is not a real
`.ts`/`.tsx` file (e.g. a `.circuit.json` fallback or absent).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tsci push fails when no index.circuit.tsx file and no mainEntrypoint

3 participants